package com.gzx.spring.db.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fhs.core.trans.vo.TransPojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 风控黑名单
 */
@Getter
@Setter
@TableName("risk_black")
public class RiskBlack implements Serializable, TransPojo {

	private static final long serialVersionUID = 1L;

	@TableId
	@Schema(description = "主键")
	private String id;

	@Schema(description = "姓名")
	private String name;

	@Schema(description = "身份证号")
	private String idCard;


	@Schema(description = "手机号")
	private String phone;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createdTime;

}
